//
//  BKTwoView.m
//  baokaodaxue
//
//  Created by dangyangyang on 15/6/6.
//  Copyright (c) 2015年 宏图教育. All rights reserved.
//

#import "BKTwoView.h"

@implementation BKTwoView

- (void)awakeFromNib{

    self.layer.borderColor = [[UIColor whiteColor]CGColor];
    self.layer.borderWidth = 1.5;
    self.layer.cornerRadius = 3;
    
    
}


// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
    
    CGContextRef context = UIGraphicsGetCurrentContext();
    
    CGContextSetLineWidth(context, 1.5);
    
    CGContextSetRGBStrokeColor(context, 1, 1, 1, 1);
    

    CGFloat height = rect.size.height;
    
    CGContextMoveToPoint(context, rect.size.width/2, 0);
    CGContextAddLineToPoint(context,rect.size.width/2, height);
    CGContextStrokePath(context);
    
   
    
 
}


@end
